<template>
  <div id="app">
    <Content v-if="!isMobile" />
    <MContent v-else />
  </div>
</template>

<script>
import Content from './template/Content.vue'
import MContent from './template/MContent.vue'
import mobile from './utils/mobile'
export default {
  name: 'App',
  components: {
    Content,
    MContent
  },
  data () {
    return {
      isMobile: true
    }
  },
  created () {
    this.isMobile = mobile.isMobile()
  }
}
</script>

<style>
body {
  margin: 0;
}
</style>